package com.txy.webmanagement.model;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

/**
 * 用戶表
 */
@Table(name = "sys_user")
public class SysUser extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "uuid", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String uuid;
    @Column(name="user_name",type = MySqlTypeConstant.VARCHAR,length = 100)
    private String userName;
    @Column(name="nick_name",type = MySqlTypeConstant.VARCHAR,length = 100)
    private String nickName;
    @Column(name="password",type = MySqlTypeConstant.VARCHAR,length = 50)
    private String password;
    @Column(name="type_id",type = MySqlTypeConstant.INT,length = 50)
    private String typeId;
    @Column(name="enable",type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "p_company_id", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String PCompanyId;
    @Column(name="create_time",type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPCompanyId() {
        return PCompanyId;
    }

    public void setPCompanyId(String PCompanyId) {
        this.PCompanyId = PCompanyId;
    }
}
